﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Student:People
    {
      
        //base this
        //public Student(int sid, int id, string name)
        //    :base(id , name)
        //{
        //    Sid = sid;
        //}
        //隐藏
        //public new void Eat()
        //{ 
        
        //}

        public int Sid { get; set; }

        public void Study(string subject)
        {
            Console.WriteLine($"[Id]学习[subject]");
        }
    }
}
